//轮播图
/*
定时器10ms
ul的 margin-left --
当 margin-left <=-2032px,重置为0
*/
setInterval(function() {
  var ulObj = document.querySelector(".hot ul");
  var marginLeft = parseInt(ulObj.style.marginLeft);
  marginLeft--;
  if (marginLeft <= -2032) {
    ulObj.style.marginLeft = "0px";
  } else {
    ulObj.style.marginLeft = marginLeft + "px";
  }
}, 10);
